var app = angular.module('lamallApp', ["ui.router"])
.config(function($stateProvider, $urlRouterProvider) {
        $stateProvider.state("home", {
            url: "/home",
            templateUrl: "views/home.html"
        }).state("market", {
            url: "/market",
            templateUrl: "views/market.html"
        }).state("market-data1", {
            url: "/market-data1",
            templateUrl: "views/market-data1.html"
        }).state("shopCar", {
            url: "/shopCar",
            templateUrl: "views/shopCar.html"
        }).state("mine", {
            url: "/mine",
            templateUrl: "views/mine.html"
        }).state("baby", {
            url: "/home/baby",
            templateUrl: "views/home_baby.html"
        }).state("bonde", {
            url: "/home/bonde",
            templateUrl: "views/home_bonded.html"
        }).state("search", {
            url: "/home/search",
            templateUrl: "views/home_search.html"
        }).state("goodsShow", {
            url: "/home/baby/goodsShow",
            templateUrl: "views/goodsShow.html"
        }).state("goodsShow-baby", {
            url: "/home/baby/goodsShow/goodsShow-baby",
            templateUrl: "views/goodsShow-baby.html"
        }).state("mine-log", {
            url: "/mine/mine-log",
            templateUrl: "views/mine-log.html"
        }).state("mineMain", {
            url: "/mine/mine-log/mineMain",
            templateUrl: "views/mineMain.html"
        }).state("mine_personalCenter", {
            url: "/mine/mine-log/mineMain/mine_personalCenter",
            templateUrl: "views/mine_personalCenter.html"
        }).state("mine_orderFromA", {
            url: "/mine/mine-log/mineMain/mine_orderFromA",
            templateUrl: "views/mine_orderFromA.html"
        }); 
        $urlRouterProvider.otherwise("home");  
    })
    